import { createApp } from 'vue';

import * as Vant from 'vant';
import { ConfigProvider } from "vant";

import 'vant/lib/index.css';
import '@/styles/tailwindcss.css';

import App from './App.vue';
import { setupStore } from './stores';
import router from './router';

async function bootstrap() {
    const app = createApp(App);

    setupStore(app);

    app.use(router);

    app.use(Vant);
    app.use(ConfigProvider);

    app.mount('#app');
}

bootstrap();